
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '会员信息',
    enableValidate: false
})

@Injectable()
export class DataGridComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'code',
        name: "{{code_670fabc7_bttu}}",
        binding: 'code',
        updateOn: 'blur',
        defaultI18nValue: '编号',
    })
    code: FormControl;

    @NgFormControl({
        id: 'name',
        name: "{{name_b66df7a6_fz9m}}",
        binding: 'name',
        updateOn: 'blur',
        defaultI18nValue: '姓名',
    })
    name: FormControl;

    @NgFormControl({
        id: 'levelOfMember',
        name: "{{levelOfMember_4dc56d77_2r08}}",
        binding: 'levelOfMember',
        updateOn: 'blur',
        defaultI18nValue: '等级',
    })
    levelOfMember: FormControl;

    @NgFormControl({
        id: 'levelName',
        name: "{{levelName_f31f8371_dlma}}",
        binding: 'levelName',
        updateOn: 'blur',
        defaultI18nValue: '等级名称',
    })
    levelName: FormControl;

}